package com.team.employment.web.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.team.employment.model.entity.CompanyInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.team.employment.model.entity.ResumeInfo;
import com.team.employment.web.admin.dto.CompanyQueryDto;
import com.team.employment.web.admin.dto.CompanyStatutoryDto;
import com.team.employment.web.admin.vo.CompanyDetailVo;
import com.team.employment.web.admin.vo.CompanyStatutoryVo;
import jakarta.validation.Valid;

/**
* @author 陈钰儿
* @description 针对表【company_info(公司信息表)】的数据库操作Service
* @createDate 2025-04-11 15:49:26
*/
public interface CompanyInfoService extends IService<CompanyInfo> {

    IPage<CompanyStatutoryVo> pageInfo(IPage<CompanyStatutoryVo> page);


    IPage<CompanyStatutoryVo> pageQueryInfo(Page<CompanyStatutoryVo> page, CompanyQueryDto companyQueryDto);

    CompanyDetailVo getInfoById(Long id);

    void removeInfoById(Long id);

    void registerCompany(@Valid CompanyStatutoryDto companyStatutoryDto,String phone);
    void updateCompany(CompanyStatutoryDto dto);

    IPage<ResumeInfo> getJobApplication(Long id, int pageNum, int pageSize);

    CompanyInfo getCompanyInfoByRecruitmentId(Long id);
}
